package com.naiterui.ehp.bs.cms.modules.oms.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.oms.entity.RefundOrder;
import com.naiterui.ehp.bs.cms.modules.oms.vo.OrderVO;
import com.naiterui.ehp.bs.cms.modules.oms.vo.RefundOrderDetailVO;
import com.naiterui.ehp.bs.cms.modules.oms.vo.RefundOrderVO;

@DS(DsName.EHP)
public interface RefundOrderMapper extends BaseMapper<RefundOrder> {

    Page<RefundOrderVO> getPage(@Param("page") IPage<OrderVO> page, @Param("ew") Wrapper<RefundOrderVO> entityWrapper);

    RefundOrderDetailVO getRefundOrderDetailById(@Param("id") Long refundOrderId);

}
